package com.sixteengroup.personnelms.dao.personnel;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sixteengroup.personnelms.bean.Staff;
import com.sixteengroup.personnelms.bean.Dept;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @InterfaceName StaffMapper
 * @Author 陈新予(blank)
 * @Date 2021/8/13
 * @Version 1.0
 */
@Component
public interface StaffMapper extends BaseMapper<Staff> {

    List<Dept> getAlldept();

    Integer getUserState(int userId);

    String getDeptName(int id);
}
